const port = 8080; //设置端口号
module.exports = {
  configureWebpack: {
    devServer: {
      port,
      host: 'localhost',
      open: true,
      proxy: {
        '/api': {
          target: 'http://1.116.64.64:5004/',
          changeOrigin: true,
          pathRewrite: {
            // '^/api':'' 去除/api
          }
        }
      }
    }
  }
}